package com.didi.gulimall.common.constant;

/**
 * @author 10626
 */
public class SecKillConstant {
    public static final Integer LOCKING = 1;
    public static final Integer UNLOCK = 2;

    public static final Integer DEDUCTED_INVENTORY = 1;
    public static final Integer LOCK_INVENTORY = 0;

    public static final String SESSIONS_CACHE_PREFIX = "seckill:sessions:";
    public static final String SKUKILL_CACHE_PREFIX = "seckill:";

    public static final String SKU_STOCK_SEMAPHORE = "seckill:stock:";

    public static final String SKUKILL_MQ_PREFIX = "seckill:mq:";
}
